package com.example.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.entity.BusinessUserEntity;
import com.example.entity.SysUserEntity;
import com.example.security.InfoDetail;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 系统用户DAO
 */
@Mapper
public interface BusinessUserDao extends BaseMapper<BusinessUserEntity> {
    /**
     * 根据用户名查询用户
     * @param username 用户名
     * @return 用户对象
     */
    BusinessUserEntity getByBusinessUsername(@Param("openid") String openid);

} 